package com.lc.sell.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 龙晨
 * @since 2022-02-01
 */
@Getter
@Setter
@TableName("dc_addresses")
@ApiModel(value = "Addresses对象", description = "")
public class Addresses implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("收货地址id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("接收人姓名（收货人姓名）")
    @TableField("accept_name")
    private String acceptName;

    @ApiModelProperty("电话")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty("性别（0-男 1-女）")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty("详细地址")
    @TableField("street")
    private String street;

    @ApiModelProperty("门牌号")
    @TableField("door_number")
    private String doorNumber;


}
